package com.dmlll.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dmLll
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProviderCloseDetail implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer id;

    /**
     * 采购单id
     */
    private Integer purchaseId;
    @TableField(exist = false)
    private Purchase purchase;

    /**
     * 药品信息id
     */
    private String drugMessageId;
    @TableField(exist = false)
    private DrugMessage drugMessage;
    /**
     * 结算单id
     */
    private Integer closeId;
    @TableField(exist = false)
    private ProviderClose providerClose;
    @TableField(exist = false)
    private Provider provider;
    @TableField(exist = false)
    private PurchaseDrupDetail purchaseDrupDetail;//采购单药品细节
    @TableField(exist = false)
    private ProviderOutputDetail providerOutputDetail;//供应商退货单细节
    /**
     * 结算量
     */
    private Integer closeNum;

    /**
     * 结算金额
     */
    private Double closePrice;

    /**
     * 结算状态
     */
    private Integer closeState;


}
